<? if(!$ajaxload): ?>

<!DOCTYPE HTML>
<html>

<head>

<title>

<?=ucfirst($tab)?>

</title>

<link rel="shortcut icon" href="/images/favicon.png"/>
<meta charset="utf-8">

<!-- STYLES
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::-->

<!-- Reset     --> <link rel="stylesheet" href="/css/reset.css" type="text/css" media="screen" charset="utf-8" />
<!-- Style     --> <link rel="stylesheet" href="/css/style4.css" type="text/css" media="screen" charset="utf-8" />
<!-- Style     --> <link rel="stylesheet" href="/css/modal.css" type="text/css" media="screen" charset="utf-8" />
<!-- Style     --> <link rel="stylesheet" href="/css/minicon.css" type="text/css" media="screen" charset="utf-8" />
<!-- Style     --> <link rel="stylesheet" href="/css/skin.css" type="text/css" media="screen" charset="utf-8" />
<!-- Style     --> <link rel="stylesheet" href="/css/queries.css" type="text/css" media="screen" charset="utf-8" />
<!-- UI        --> <link rel="stylesheet" href="/css/smoothness/jquery-ui-1.8.7.custom.css" type="text/css" media="screen" charset="utf-8" />
<!-- UI Custom --> <link rel="stylesheet" href="/css/customizr2.css" type="text/css" media="screen" charset="utf-8" />


<!-- SCRIPTS
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::-->

<!-- jQuery  -->	 	<script src="/js/jquery-1.4.4.min.js"></script>
<!-- Global  --> 		<script src="/js/global.js"></script>
<!-- Modal   --> 		<script src="/js/modal.js"></script>
<!-- Modal   --> 		<script src="/js/plugins/jqueryui/jquery-ui-1.8.7.custom.min.js"></script>
<!-- Modal   --> 		<script src="/js/selectmenu.js"></script>
<!-- FCK Editor -->		<script src="/js/fckeditor/fckeditor.js"></script>
<!-- FCK Editor -->		<script src="/js/jquery.FCKEditor.js"></script>
<!-- DataTable  -->		<script src="/js/jquery.dataTables.min.js"></script>
<!-- jKeys  -->			<script src="/js/jkey.js"></script>
<!-- Tooltip  -->		<script src="http://cdn.jquerytools.org/1.2.6/tiny/jquery.tools.min.js"></script>

<!-- Colorpicker -->
<script src="/js/plugins/colorpicker/farbtastic.js"></script>
<link rel="stylesheet" href="/js/plugins/colorpicker/farbtastic.css" type="text/css"/>

<!-- File uploader -->
<script src="/js/plugins/upload/fileuploader.js"></script>
<link rel="stylesheet" href="/js/plugins/upload/fileuploader.css" type="text/css"/>

<!-- Full calendar -->
<script src="/js/fullcalendar.min.js"></script>
<link rel="stylesheet" href="/css/fullcalendar.css" type="text/css"/>

</head>


<body class="<?=$skin?> <? if($dinamic): ?> dinamic <? endif; ?>">

		<input id="sso" type="hidden" value="<?=$_info['usuario']['sso']?>"/>
		
		<input id="id_usuario" type="hidden" value="<?=$_info['usuario']['id']?>"/>

		<header <? if($configuraciones['SKIN_COLOR_FONDO']): ?> style="background-color: <?=$configuraciones['SKIN_COLOR_FONDO']['valor']?>" <? endif; ?> class="colorize <? if($configuraciones['FULLSCREEN']['valor']): ?> full <? endif; ?>">
		
			<div class="logo">
			
				<div class="container">
				
					<div class="carte">
					
						<a href="/ss/usuarios/perfiles/ver/<?=$_info['usuario']['id']?>"><?=$_info['usuario']['nombre']?></a> &middot; <a href="/php/class/Usuario/logout/@redir=/">Salir</a>
						
					</div>

					<a href="/ss/home/"><h1><span>SS</span></h1></a>
				
				</div>
			
			</div>
			
			<div class="menu">
				
				<div class="container">
					
					<div class="search">
						
						<!-- <form action="/includes/controller/buscar.php" method="get"><input name="search" type="text" /><button>Buscar</button></form> -->
					
					</div>
					
					<ul class="tabs <?=$configuraciones['SKIN_ICONOS']['valor']?>">	
				
						<? foreach ($sections as $sections_key => $sections_value): ?>
								
								<li class="<?=$sections_key?>"><a <? if($sections_key == $tab):?> class="active" <? endif; ?> href="/ss/<?=$sections_value['url']?>"><span><?=ucfirst($sections_value['alias'])?></span></a></li>
								
						<? endforeach; ?>
						
					</ul>

				</div>
				
			</div>
			
			<nav class="submenu">
			
				<div class="container">
				
					<ul class="tabs">
						
						<? foreach($sections[$tab]['sub'] as $sub_key => $sub_value): ?>
						
							<? if(!$sub_value['invisible']): ?>
						
								<li><a <? if($sub_key == $section): ?> class="active" <? endif; ?> href="/ss/<?=$sub_value['url']?>"><?=$sub_value['alias']?></a></li>
								
							<? endif; ?> 
						
						<? endforeach; ?>
						
					</ul>
				
				</div>
			
			</nav>
		
		</header>

		<div class="container nopadding">

			<div class="content">
			
<? endif; ?>
